﻿package org.atk.objects {
	import org.aswing.geom.IntRectangle;
	
	/**
	 * ...
	 * @author AeTky
	 */
	public class ActionRectangle {
//Action Types		
		static public var atNone:int = 0;
		static public var atResizer:int = 1;
		static public var atRow:int = 2;
		static public var atFolderIcon:int = 4;
		static public var atCell:int = 5;
		
		
		private var actRect:IntRectangle;
		private var attachment:*;
		private var actionType:int = 0;
		private var colIndex:int = -1;
		public function ActionRectangle(actRect:IntRectangle, actionType:int, attachment:*,colIndex:int=-1 ) {
			this.actRect = actRect;
			this.actionType = actionType;
			this.attachment = attachment;
			this.colIndex = colIndex;
		}
		
		public function get ActRect():IntRectangle { return actRect; }
		
		public function set ActRect(value:IntRectangle):void {
			actRect = value;
		}
		
		public function get Attachment():* { return attachment; }
		
		public function set Attachment(value:*):void {
			attachment = value;
		}
		
		public function get ActionType():int { return actionType; }
		
		public function set ActionType(value:int):void {
			actionType = value;
		}
		
		public function get ColIndex():int { return colIndex; }
		
		public function set ColIndex(value:int):void {
			colIndex = value;
		}
		
	}
	
}